package cn.sunlelin.educationserver.mapper;

import cn.sunlelin.educationserver.entity.Taskscore;

import java.util.List;
import java.util.Map;

public interface TaskscoreMapper {
    public void createTaskscore(Taskscore taskscore);
    public void updateTaskscore(Taskscore taskscore);
    public void TaskscoreScoring(Taskscore taskscore);
    public Taskscore selectTaskscoreById(Integer taskscoreId);
    public List<Taskscore> selectTaskscoreByUserId(Integer userId);
    public List<Map<String,Object>> selectTaskscoreByTaskId(Integer taskId);
    public Map<String,Object> selectTaskscoreByUserAndTask(Taskscore taskscore);
    public void deleteTaskscore(Taskscore taskscore);
}
